require('./app.css');
require('./app.less');

let img = document.createElement('img');
img.src = require('./img.png');
document.body.appendChild(img);


// 测试跨域请求
const $ = require('jquery');

let url = '/v4/api/film/now-playing?__t=1535683702386&page=1&count=5';
$.ajax({
	type:"get",
	url,
	success: (res)=> {
		console.log(res)
	},
	error: ()=> {
		alert('请求失败');
	}
});
